package com.gemme.gemme.view;

import java.util.List;

/**
 * @Author: yangcheng
 * @CreateDate: 2020/9/20 11:38
 */
class ChatBean {


    /**
     * code : 0
     * msg : null
     * data : {"list":[{"id":1307591614553501696,"userId":147,"contentId":47,"toUserId":null,"pcommentsId":null,"comments":"是的是的是的！","likeCounts":0,"delFlag":null,"createTime":"2020-09-20 16:05:09","createBy":null,"userName":"Ternura","picture":"https://thirdwx.qlogo.cn/mmopen/vi_32/DYAIOgq83epLIsWJ4XNSMgibKmkU8hup3TIrWv51hKwz5V3Dn7pBBKtnstDyLkkeA3GuxddYRGDHuiakARc7cIQQ/132","toUserName":null,"toPicture":null,"list":[{"id":1307591684497715200,"userId":147,"contentId":47,"toUserId":147,"pcommentsId":1307591614553501696,"comments":"是的是的是的！","likeCounts":0,"delFlag":null,"createTime":"2020-09-20 16:05:26","createBy":null,"userName":"Ternura","picture":"https://thirdwx.qlogo.cn/mmopen/vi_32/DYAIOgq83epLIsWJ4XNSMgibKmkU8hup3TIrWv51hKwz5V3Dn7pBBKtnstDyLkkeA3GuxddYRGDHuiakARc7cIQQ/132","toUserName":"杨新宇","toPicture":null}],"commentsCount":null},{"id":1307592178397982720,"userId":147,"contentId":47,"toUserId":null,"pcommentsId":null,"comments":"好的好的好的","likeCounts":0,"delFlag":null,"createTime":"2020-09-20 16:07:23","createBy":null,"userName":"Ternura","picture":"https://thirdwx.qlogo.cn/mmopen/vi_32/DYAIOgq83epLIsWJ4XNSMgibKmkU8hup3TIrWv51hKwz5V3Dn7pBBKtnstDyLkkeA3GuxddYRGDHuiakARc7cIQQ/132","toUserName":null,"toPicture":null,"list":null,"commentsCount":null}]}
     */

    private int code;
    private Object msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Object getMsg() {
        return msg;
    }

    public void setMsg(Object msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<ListBeanX> records;

        public List<ListBeanX> getRecords() {
            return records;
        }

        public void setRecords(List<ListBeanX> records) {
            this.records = records;
        }

        public static class ListBeanX {
            /**
             * id : 1307591614553501696
             * userId : 147
             * contentId : 47
             * toUserId : null
             * pcommentsId : null
             * comments : 是的是的是的！
             * likeCounts : 0
             * delFlag : null
             * createTime : 2020-09-20 16:05:09
             * createBy : null
             * userName : Ternura
             * picture : https://thirdwx.qlogo.cn/mmopen/vi_32/DYAIOgq83epLIsWJ4XNSMgibKmkU8hup3TIrWv51hKwz5V3Dn7pBBKtnstDyLkkeA3GuxddYRGDHuiakARc7cIQQ/132
             * toUserName : null
             * toPicture : null
             * list : [{"id":1307591684497715200,"userId":147,"contentId":47,"toUserId":147,"pcommentsId":1307591614553501696,"comments":"是的是的是的！","likeCounts":0,"delFlag":null,"createTime":"2020-09-20 16:05:26","createBy":null,"userName":"Ternura","picture":"https://thirdwx.qlogo.cn/mmopen/vi_32/DYAIOgq83epLIsWJ4XNSMgibKmkU8hup3TIrWv51hKwz5V3Dn7pBBKtnstDyLkkeA3GuxddYRGDHuiakARc7cIQQ/132","toUserName":"杨新宇","toPicture":null}]
             * commentsCount : null
             */

            private long id;
            private int userId;
            private int contentId;
            private Object toUserId;
            private Object pcommentsId;
            private String comments;
            private int likeCounts;
            private Object delFlag;
            private String createTime;
            private Object createBy;
            private String userName;
            private String picture;
            private Object toUserName;
            private Object toPicture;
            private Object commentsCount;
            private ChatChildList list;

            public ChatChildList getList() {
                return list;
            }

            public void setList(ChatChildList list) {
                this.list = list;
            }

            public static class ChatChildList{
                private List<ListBean> records;
                public List<ListBean> getRecords() {
                    return records;
                }
                public void setRecords(List<ListBean> records) {
                    this.records = records;
                }
                public static class ListBean {
                    /**
                     * id : 1307591684497715200
                     * userId : 147
                     * contentId : 47
                     * toUserId : 147
                     * pcommentsId : 1307591614553501696
                     * comments : 是的是的是的！
                     * likeCounts : 0
                     * delFlag : null
                     * createTime : 2020-09-20 16:05:26
                     * createBy : null
                     * userName : Ternura
                     * picture : https://thirdwx.qlogo.cn/mmopen/vi_32/DYAIOgq83epLIsWJ4XNSMgibKmkU8hup3TIrWv51hKwz5V3Dn7pBBKtnstDyLkkeA3GuxddYRGDHuiakARc7cIQQ/132
                     * toUserName : 杨新宇
                     * toPicture : null
                     */

                    private long id;
                    private int userId;
                    private int contentId;
                    private int toUserId;
                    private long pcommentsId;
                    private String comments;
                    private int likeCounts;
                    private Object delFlag;
                    private String createTime;
                    private Object createBy;
                    private String userName;
                    private String picture;
                    private String toUserName;
                    private Object toPicture;

                    public long getId() {
                        return id;
                    }

                    public void setId(long id) {
                        this.id = id;
                    }

                    public int getUserId() {
                        return userId;
                    }

                    public void setUserId(int userId) {
                        this.userId = userId;
                    }

                    public int getContentId() {
                        return contentId;
                    }

                    public void setContentId(int contentId) {
                        this.contentId = contentId;
                    }

                    public int getToUserId() {
                        return toUserId;
                    }

                    public void setToUserId(int toUserId) {
                        this.toUserId = toUserId;
                    }

                    public long getPcommentsId() {
                        return pcommentsId;
                    }

                    public void setPcommentsId(long pcommentsId) {
                        this.pcommentsId = pcommentsId;
                    }

                    public String getComments() {
                        return comments;
                    }

                    public void setComments(String comments) {
                        this.comments = comments;
                    }

                    public int getLikeCounts() {
                        return likeCounts;
                    }

                    public void setLikeCounts(int likeCounts) {
                        this.likeCounts = likeCounts;
                    }

                    public Object getDelFlag() {
                        return delFlag;
                    }

                    public void setDelFlag(Object delFlag) {
                        this.delFlag = delFlag;
                    }

                    public String getCreateTime() {
                        return createTime;
                    }

                    public void setCreateTime(String createTime) {
                        this.createTime = createTime;
                    }

                    public Object getCreateBy() {
                        return createBy;
                    }

                    public void setCreateBy(Object createBy) {
                        this.createBy = createBy;
                    }

                    public String getUserName() {
                        return userName;
                    }

                    public void setUserName(String userName) {
                        this.userName = userName;
                    }

                    public String getPicture() {
                        return picture;
                    }

                    public void setPicture(String picture) {
                        this.picture = picture;
                    }

                    public String getToUserName() {
                        return toUserName;
                    }

                    public void setToUserName(String toUserName) {
                        this.toUserName = toUserName;
                    }

                    public Object getToPicture() {
                        return toPicture;
                    }

                    public void setToPicture(Object toPicture) {
                        this.toPicture = toPicture;
                    }
                }
            }

            private int praiseFlag;



            public int getPraiseFlag() {
                return praiseFlag;
            }

            public void setPraiseFlag(int praiseFlag) {
                this.praiseFlag = praiseFlag;
            }

            public long getId() {
                return id;
            }

            public void setId(long id) {
                this.id = id;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public int getContentId() {
                return contentId;
            }

            public void setContentId(int contentId) {
                this.contentId = contentId;
            }

            public Object getToUserId() {
                return toUserId;
            }

            public void setToUserId(Object toUserId) {
                this.toUserId = toUserId;
            }

            public Object getPcommentsId() {
                return pcommentsId;
            }

            public void setPcommentsId(Object pcommentsId) {
                this.pcommentsId = pcommentsId;
            }

            public String getComments() {
                return comments;
            }

            public void setComments(String comments) {
                this.comments = comments;
            }

            public int getLikeCounts() {
                return likeCounts;
            }

            public void setLikeCounts(int likeCounts) {
                this.likeCounts = likeCounts;
            }

            public Object getDelFlag() {
                return delFlag;
            }

            public void setDelFlag(Object delFlag) {
                this.delFlag = delFlag;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public Object getCreateBy() {
                return createBy;
            }

            public void setCreateBy(Object createBy) {
                this.createBy = createBy;
            }

            public String getUserName() {
                return userName;
            }

            public void setUserName(String userName) {
                this.userName = userName;
            }

            public String getPicture() {
                return picture;
            }

            public void setPicture(String picture) {
                this.picture = picture;
            }

            public Object getToUserName() {
                return toUserName;
            }

            public void setToUserName(Object toUserName) {
                this.toUserName = toUserName;
            }

            public Object getToPicture() {
                return toPicture;
            }

            public void setToPicture(Object toPicture) {
                this.toPicture = toPicture;
            }

            public Object getCommentsCount() {
                return commentsCount;
            }

            public void setCommentsCount(Object commentsCount) {
                this.commentsCount = commentsCount;
            }



        }
    }
}
